<?php

namespace App\Models\AccidentSociety;

use App\Models\Model;

class AccidentSocietyFile extends Model
{
    protected $table = 'akbus_accident_society_file';

    protected $fillable = [
        'type',
        'file_name',
        'file_path',
        'file_type',
        'file_size',
        'user_id',
        'note',
        'accident_id',
    ];

    public function accidentSociety(): \Illuminate\Database\Eloquent\Relations\BelongsTo
    {
        return $this->belongsTo(AccidentSociety::class);
    }
}
